<h1><%= @page_title="Estad&iacute;sticas de Pedag&oacute;gico"%></h1>

<%= render :partial => 'main/cartel_sugerencias' %>

<table>
	<tr><th>Alumnos Hombres</th><th>Alumnas Mujeres</th></tr>
	<tr>
		<td><%= @nro_alumnos_hombres %>(<%= number_with_precision(@per_alumnos_hombres,0) %>%)</td>
		<td><%= @nro_alumnos_mujeres %>(<%= number_with_precision(@per_alumnos_mujeres,0) %>%)</td>
	</tr>
</table>

<table>
	<tr><th>Alumnos Pre-Y&ocirc;ga</th><th>Alumnos Y&ocirc;ga</th></tr>
	<tr>
		<td><%= Persona.nro_alumnos_preyoga %>(<%= number_with_precision(@per_alumnos_preyoga,0) %>%)</td>
		<td><%= Persona.nro_alumnos_yoga %>(<%= number_with_precision(@per_alumnos_yoga,0) %>%)</td>
	</tr>
</table>

<% form_remote_tag :url=>{:action=>'anu_mkt_refresh', :controller=>'stats'}, :update=>'mkt_anual' do %>
	<label for='date_year_1i'>A&ntilde;o:</label>
	<%= date_select 'date', 'year', :discard_month=>true, :default=>{:year=>@year}, :start_year=>@start_year, :end_year=>Date.today.year %>
	<%= submit_tag 'ver' %>
<% end %>
	
<table BORDER='1' class="fill_body">
	<tr>
		<th colspan="14">Evasiones</th>
	</tr>
	<tr>
		<th colspan="14"><%=@year%></th>
	</tr>
	<tr>
		<th></th>
		<th>Ene</th>
		<th>Feb</th>
		<th>Mar</th>
		<th>Abr</th>
		<th>May</th>
		<th>Jun</th>
		<th>Jul</th>
		<th>Ago</th>
		<th>Sep</th>
		<th>Oct</th>
		<th>Nov</th>
		<th>Dic</th>
		<th></th>
	</tr>
	<tr><td>Evasiones</td>
		<%for e in @evasiones%>
			<td><%=h e%></td>
		<%end%>
		<td>evasion total de la unidad</td>
	</tr>
</table>